<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>thymeleaf multi attribute</title>
</head>
<body>

<p style="white-space: pre;" th:text="${slogan1} + '        — — ' + ${name1}"></p>
<p style="white-space: pre;" th:text="${slogan2} + '        — — ' + ${name2}"></p>
<p style="white-space: pre;" th:text="${slogan3} + '        — — ' + ${name3}"></p>

</body>
</html>